package spring_ioc.hello1.service;

public class LowerAction implements Action {
	private String prefix;
	private String message;

	public  LowerAction(){}

	public  LowerAction(String prefix, String message){
		this.prefix = prefix;
		this.message = message;
	}

	public String getPrefix() {
		return prefix;
	}
	public String getMessage() {
		return message;
	}

	public void setPrefix(String string) {
		prefix = string;
	}
	public void setMessage(String string) {
		message = string;
	}

	public void execute(String str) {
		System.out.println((getPrefix() + ", " + getMessage() + ", " + str).toLowerCase());
	}
}
